﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime;
using System.Text;
using System.Threading.Tasks;

namespace GroupThreeMESProject.Entity
{
    /// <summary>
    /// 工单管理表
    /// </summary>
    public class MesWorkorder
    {
        //主键
        public int id { get; set; }
        //工单编号
        public string Workordernumber { get; set; }
       
        //计划数量
        public int plannedQuantity { get; set; }
        //完成数量
        public int completedQuantity { get; set; }
        //不良数量
        public int defectiveQuantity { get; set; }
        //计划开始时间
        public DateTime plannedStarttime { get; set; } = DateTime.Now;
        //计划结束时间
        public DateTime plannedEndtime { get; set; }= DateTime.Now;
        //执行顺序
        public int executionOrder { get; set; }
        //操作人
        public int UserId { get; set; }
        //创建时间
        public DateTime creationTime { get; set; }  = DateTime.Now;
        //工作状态
        public bool workStatus { get; set; } = false;
        //备注
        public string remarks { get; set; }
        //拆分
        public string splitOption { get; set; }
        //班别
        public string shift { get; set; }
        //物料管理id
        public int MaterialId { get; set; }
        //工序Id
        public int processid { get; set; }
        //设备Id
        public int EquipmentId { get; set; }
        //状态
        public bool status { get; set; }=false;
        //删除标识
        public bool  deleteIs { get; set; }=false;
    }
}
